package com.fdd.op.sdk.internal.util.json;


/**
 * ExceptionErrorListener
 *
 * @author Fadada
 * @date 2021/04/26
 */
public class ExceptionErrorListener extends BufferErrorListener {
    
    @Override
    public void error(String type, int col) {
        super.error(type, col);
        throw new IllegalArgumentException(buffer.toString());
    }
}
